#include "s3c2440_soc.h"
#include "uart.h"
#include "init.h"


int main(void)
{
    unsigned char c;

    uart0_init();
    sdram_init();

    puts("hello world\n\r");

    if (sdram_test() == 0)
    {
        puts("sdram test success\n\r");
    }
    else
    {
        puts("test fail\n\r");
    }

    while (1)
    {
        c = getchar();
        putchar(c);
    }
    

    return 0;
}


